//
//  RCShopManageDetailCell.h
//  RocketProject
//
//  Created by Wu Chengwei on 13-10-2.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RCShopManagerDataModel.h"
#import "RCShopManageViewController.h"

typedef enum{
    ShopOneLineCellTypeAddress = 1,
    ShopOneLineCellTypePhone = 2,
    
} ShopOneLineCellType;

@protocol RCShopManageDetailHeaderCellDelegate <NSObject>

@optional
-(void)gotoPictureAlbumView;

@end

@interface RCShopManageDetailHeaderCell : UITableViewCell

@property(nonatomic,assign)id<RCShopManageDetailHeaderCellDelegate>delegate;

- (void) bindData:(RCShopManagerDataModel *)detailModel;
@end


@interface RCShopManageDetailOnelineCell : UITableViewCell<UIActionSheetDelegate>

@property(nonatomic,assign) ShopOneLineCellType cellType;
@property(nonatomic,retain) RCShopManagerDetailItem *dataModel;
@property(nonatomic,assign) UIViewController *parentViewController;
@property(nonatomic,copy) NSString *merchantName;
@property(nonatomic,copy) NSString *merchantID;

- (void) bindData:(RCShopManagerDetailItem *)detailModel;
+ (CGFloat) cellHeightWithString:(RCShopManagerDetailItem *)detailModel;

@end


@interface RCShopManageDetailTwolineCell : UITableViewCell

- (void) bindData:(RCShopManagerDetailItem *)detailModel;
+ (CGFloat) cellHeightWithString:(NSString *)str;

@end
